<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<script language="javascript" src="<%=basePath%>static/hongbao/jquery-1.4.4.min.js"></script>
<script language="javascript" src="<%=basePath%>static/hongbao/jquery.jqprint-0.3.js"></script>
<script language="javascript">
	function a() {
		$("#ddd").jqprint();
	}
</script>
</head>
<body>
	<div id="ddd">
		<table>
			<tr>
				<td style="font-size: 14px;" align="center">刷卡支付签购单</td>
			</tr>
			<tr>
				<td width="100%">------------------------</td>
			</tr>
			<tr>
			
				<td style="font-size: 10px;">商户名称：初现成都少陵路店</td>
			</tr>
			<tr>
				<td style="font-size: 10px;">商户编号：822651058130153</td>
			</tr>
			<tr>
				<td style="font-size: 10px;">支付方式：微信支付</td>
			</tr>
			<tr>
				<td style="font-size: 10px;">交易类型：消费</td>
			</tr>
			<tr>
				<td style="font-size: 10px;">下单时间：2015-09-09 17:27:51</td>
			</tr>
			<tr>
				<td style="font-size: 10px;">订单编号：</td>
			</tr>
			<tr>
				<td style="font-size: 10px;">2015090917275171099e9dfc</td>
			</tr>
			<tr>
				<td style="font-size: 10px;">收款金额：<b>RMB 888888.00</b></td>
			</tr>
		</table>
	</div>
	<input type="button" onclick="a()" value="打印" />
</body>
</html>